    // SVC_(<NAME>, <ARG_COUNT>)
    //
    // Funcs order should match Windows 2003 Service Pack 2
    // Note: these MUST be indented for the ARM assembler!
    //
    SVC_(GdiAbortDoc, 1)
    SVC_(GdiAbortPath, 1)
    SVC_(GdiAddFontResourceW, 6)
    SVC_(GdiAddRemoteFontToDC, 4)
    SVC_(GdiAddFontMemResourceEx, 5)
    SVC_(GdiRemoveMergeFont, 2)
    SVC_(GdiAddRemoteMMInstanceToDC, 3)
    SVC_(GdiAlphaBlend, 12)
    SVC_(GdiAngleArc, 6)
    SVC_(GdiAnyLinkedFonts, 0)
    SVC_(GdiFontIsLinked, 1)
    SVC_(GdiArcInternal, 10)
    SVC_(GdiBeginPath, 1)
    SVC_(GdiBitBlt, 11)
    SVC_(GdiCancelDC, 1)
    SVC_(GdiCheckBitmapBits, 8)
    SVC_(GdiCloseFigure, 1)
    SVC_(GdiClearBitmapAttributes, 2)
    SVC_(GdiClearBrushAttributes, 2)
    SVC_(GdiColorCorrectPalette, 6)
    SVC_(GdiCombineRgn, 4)
    SVC_(GdiCombineTransform, 3)
    SVC_(GdiComputeXformCoefficients, 1)
    SVC_(GdiConsoleTextOut, 4)
    SVC_(GdiConvertMetafileRect, 2)
    SVC_(GdiCreateBitmap, 5)
    SVC_(GdiCreateClientObj, 1)
    SVC_(GdiCreateColorSpace, 1)
    SVC_(GdiCreateColorTransform, 8)
    SVC_(GdiCreateCompatibleBitmap, 3)
    SVC_(GdiCreateCompatibleDC, 1)
    SVC_(GdiCreateDIBBrush, 6)
    SVC_(GdiCreateDIBitmapInternal, 11)
    SVC_(GdiCreateDIBSection, 9)
    SVC_(GdiCreateEllipticRgn, 4)
    SVC_(GdiCreateHalftonePalette, 1)
    SVC_(GdiCreateHatchBrushInternal, 3)
    SVC_(GdiCreateMetafileDC, 1)
    SVC_(GdiCreatePaletteInternal, 2)
    SVC_(GdiCreatePatternBrushInternal, 3)
    SVC_(GdiCreatePen, 4)
    SVC_(GdiCreateRectRgn, 4)
    SVC_(GdiCreateRoundRectRgn, 6)
    SVC_(GdiCreateServerMetaFile, 6)
    SVC_(GdiCreateSolidBrush, 2)
    SVC_(GdiD3dContextCreate, 4)
    SVC_(GdiD3dContextDestroy, 1)
    SVC_(GdiD3dContextDestroyAll, 1)
    SVC_(GdiD3dValidateTextureStageState, 1)
    SVC_(GdiD3dDrawPrimitives2, 7)
    SVC_(GdiDdGetDriverState, 1)
    SVC_(GdiDdAddAttachedSurface, 3)
    SVC_(GdiDdAlphaBlt, 3)
    SVC_(GdiDdAttachSurface, 2)
    SVC_(GdiDdBeginMoCompFrame, 2)
    SVC_(GdiDdBlt, 3)
    SVC_(GdiDdCanCreateSurface, 2)
    SVC_(GdiDdCanCreateD3DBuffer, 2)
    SVC_(GdiDdColorControl, 2)
    SVC_(GdiDdCreateDirectDrawObject, 1)
    SVC_(GdiDdCreateSurface, 8)
    SVC_(GdiDdCreateD3DBuffer, 8)
    SVC_(GdiDdCreateMoComp, 2)
    SVC_(GdiDdCreateSurfaceObject, 6)
    SVC_(GdiDdDeleteDirectDrawObject, 1)
    SVC_(GdiDdDeleteSurfaceObject, 1)
    SVC_(GdiDdDestroyMoComp, 2)
    SVC_(GdiDdDestroySurface, 2)
    SVC_(GdiDdDestroyD3DBuffer, 1)
    SVC_(GdiDdEndMoCompFrame, 2)
    SVC_(GdiDdFlip, 5)
    SVC_(GdiDdFlipToGDISurface, 2)
    SVC_(GdiDdGetAvailDriverMemory, 2)
    SVC_(GdiDdGetBltStatus, 2)
    SVC_(GdiDdGetDC, 2)
    SVC_(GdiDdGetDriverInfo, 2)
    SVC_(GdiDdGetDxHandle, 3)
    SVC_(GdiDdGetFlipStatus, 2)
    SVC_(GdiDdGetInternalMoCompInfo, 2)
    SVC_(GdiDdGetMoCompBuffInfo, 2)
    SVC_(GdiDdGetMoCompGuids, 2)
    SVC_(GdiDdGetMoCompFormats, 2)
    SVC_(GdiDdGetScanLine, 2)
    SVC_(GdiDdLock, 3)
    SVC_(GdiDdLockD3D, 2)
    SVC_(GdiDdQueryDirectDrawObject, 11)
    SVC_(GdiDdQueryMoCompStatus, 2)
    SVC_(GdiDdReenableDirectDrawObject, 2)
    SVC_(GdiDdReleaseDC, 1)
    SVC_(GdiDdRenderMoComp, 2)
    SVC_(GdiDdResetVisrgn, 2)
    SVC_(GdiDdSetColorKey, 2)
    SVC_(GdiDdSetExclusiveMode, 2)
    SVC_(GdiDdSetGammaRamp, 3)
    SVC_(GdiDdCreateSurfaceEx, 3)
    SVC_(GdiDdSetOverlayPosition, 3)
    SVC_(GdiDdUnattachSurface, 2)
    SVC_(GdiDdUnlock, 2)
    SVC_(GdiDdUnlockD3D, 2)
    SVC_(GdiDdUpdateOverlay, 3)
    SVC_(GdiDdWaitForVerticalBlank, 2)
    SVC_(GdiDvpCanCreateVideoPort, 2)
    SVC_(GdiDvpColorControl, 2)
    SVC_(GdiDvpCreateVideoPort, 2)
    SVC_(GdiDvpDestroyVideoPort, 2)
    SVC_(GdiDvpFlipVideoPort, 4)
    SVC_(GdiDvpGetVideoPortBandwidth, 2)
    SVC_(GdiDvpGetVideoPortField, 2)
    SVC_(GdiDvpGetVideoPortFlipStatus, 2)
    SVC_(GdiDvpGetVideoPortInputFormats, 2)
    SVC_(GdiDvpGetVideoPortLine, 2)
    SVC_(GdiDvpGetVideoPortOutputFormats, 2)
    SVC_(GdiDvpGetVideoPortConnectInfo, 2)
    SVC_(GdiDvpGetVideoSignalStatus, 2)
    SVC_(GdiDvpUpdateVideoPort, 4)
    SVC_(GdiDvpWaitForVideoPortSync, 2)
    SVC_(GdiDvpAcquireNotification, 3)
    SVC_(GdiDvpReleaseNotification, 2)
    SVC_(GdiDxgGenericThunk, 6)
    SVC_(GdiDeleteClientObj, 1)
    SVC_(GdiDeleteColorSpace, 1)
    SVC_(GdiDeleteColorTransform, 2)
    SVC_(GdiDeleteObjectApp, 1)
    SVC_(GdiDescribePixelFormat, 4)
    SVC_(GdiGetPerBandInfo, 2)
    SVC_(GdiDoBanding, 4)
    SVC_(GdiDoPalette, 6)
    SVC_(GdiDrawEscape, 4)
    SVC_(GdiEllipse, 5)
    SVC_(GdiEnableEudc, 1)
    SVC_(GdiEndDoc, 1)
    SVC_(GdiEndPage, 1)
    SVC_(GdiEndPath, 1)
    SVC_(GdiEnumFontChunk, 5)
    SVC_(GdiEnumFontClose, 1)
    SVC_(GdiEnumFontOpen, 7)
    SVC_(GdiEnumObjects, 4)
    SVC_(GdiEqualRgn, 2)
    SVC_(GdiEudcLoadUnloadLink, 7)
    SVC_(GdiExcludeClipRect, 5)
    SVC_(GdiExtCreatePen, 11)
    SVC_(GdiExtCreateRegion, 3)
    SVC_(GdiExtEscape, 8)
    SVC_(GdiExtFloodFill, 5)
    SVC_(GdiExtGetObjectW, 3)
    SVC_(GdiExtSelectClipRgn, 3)
    SVC_(GdiExtTextOutW, 9)
    SVC_(GdiFillPath, 1)
    SVC_(GdiFillRgn, 3)
    SVC_(GdiFlattenPath, 1)
    SVC_(GdiFlush, 0)
    SVC_(GdiForceUFIMapping, 2)
    SVC_(GdiFrameRgn, 5)
    SVC_(GdiFullscreenControl, 5)
    SVC_(GdiGetAndSetDCDword, 4)
    SVC_(GdiGetAppClipBox, 2)
    SVC_(GdiGetBitmapBits, 3)
    SVC_(GdiGetBitmapDimension, 2)
    SVC_(GdiGetBoundsRect, 3)
    SVC_(GdiGetCharABCWidthsW, 6)
    SVC_(GdiGetCharacterPlacementW, 6)
    SVC_(GdiGetCharSet, 1)
    SVC_(GdiGetCharWidthW, 6)
    SVC_(GdiGetCharWidthInfo, 2)
    SVC_(GdiGetColorAdjustment, 2)
    SVC_(GdiGetColorSpaceforBitmap, 1)
    SVC_(GdiGetDCDword, 3)
    SVC_(GdiGetDCforBitmap, 1)
    SVC_(GdiGetDCObject, 2)
    SVC_(GdiGetDCPoint, 3)
    SVC_(GdiGetDeviceCaps, 2)
    SVC_(GdiGetDeviceGammaRamp, 2)
    SVC_(GdiGetDeviceCapsAll, 2)
    SVC_(GdiGetDIBitsInternal, 9)
    SVC_(GdiGetETM, 2)
    SVC_(GdiGetEudcTimeStampEx, 3)
    SVC_(GdiGetFontData, 5)
    SVC_(GdiGetFontResourceInfoInternalW, 7)
    SVC_(GdiGetGlyphIndicesW, 5)
    SVC_(GdiGetGlyphIndicesWInternal, 6)
    SVC_(GdiGetGlyphOutline, 8)
    SVC_(GdiGetKerningPairs, 3)
    SVC_(GdiGetLinkedUFIs, 3)
    SVC_(GdiGetMiterLimit, 2)
    SVC_(GdiGetMonitorID, 3)
    SVC_(GdiGetNearestColor, 2)
    SVC_(GdiGetNearestPaletteIndex, 2)
    SVC_(GdiGetObjectBitmapHandle, 2)
    SVC_(GdiGetOutlineTextMetricsInternalW, 4)
    SVC_(GdiGetPath, 4)
    SVC_(GdiGetPixel, 3)
    SVC_(GdiGetRandomRgn, 3)
    SVC_(GdiGetRasterizerCaps, 2)
    SVC_(GdiGetRealizationInfo, 3)
    SVC_(GdiGetRegionData, 3)
    SVC_(GdiGetRgnBox, 2)
    SVC_(GdiGetServerMetaFileBits, 7)
    SVC_(GdiGetSpoolMessage, 4)
    SVC_(GdiGetStats, 5)
    SVC_(GdiGetStockObject, 1)
    SVC_(GdiGetStringBitmapW, 5)
    SVC_(GdiGetSystemPaletteUse, 1)
    SVC_(GdiGetTextCharsetInfo, 3)
    SVC_(GdiGetTextExtent, 5)
    SVC_(GdiGetTextExtentExW, 8)
    SVC_(GdiGetTextFaceW, 4)
    SVC_(GdiGetTextMetricsW, 3)
    SVC_(GdiGetTransform, 3)
    SVC_(GdiGetUFI, 6)
    SVC_(GdiGetEmbUFI, 7)
    SVC_(GdiGetUFIPathname, 10)
    SVC_(GdiGetEmbedFonts, 0)
    SVC_(GdiChangeGhostFont, 2)
    SVC_(GdiAddEmbFontToDC, 2)
    SVC_(GdiGetFontUnicodeRanges, 2)
    SVC_(GdiGetWidthTable, 7)
    SVC_(GdiGradientFill, 6)
    SVC_(GdiHfontCreate, 5)
    SVC_(GdiIcmBrushInfo, 8)
    SVC_(GdiInit, 0)
    SVC_(GdiInitSpool, 0)
    SVC_(GdiIntersectClipRect, 5)
    SVC_(GdiInvertRgn, 2)
    SVC_(GdiLineTo, 3)
    SVC_(GdiMakeFontDir, 5)
    SVC_(GdiMakeInfoDC, 2)
    SVC_(GdiMaskBlt, 13)
    SVC_(GdiModifyWorldTransform, 3)
    SVC_(GdiMonoBitmap, 1)
    SVC_(GdiMoveTo, 4)
    SVC_(GdiOffsetClipRgn, 3)
    SVC_(GdiOffsetRgn, 3)
    SVC_(GdiOpenDCW, 7)
    SVC_(GdiPatBlt, 6)
    SVC_(GdiPolyPatBlt, 5)
    SVC_(GdiPathToRegion, 1)
    SVC_(GdiPlgBlt, 11)
    SVC_(GdiPolyDraw, 4)
    SVC_(GdiPolyPolyDraw, 5)
    SVC_(GdiPolyTextOutW, 4)
    SVC_(GdiPtInRegion, 3)
    SVC_(GdiPtVisible, 3)
    SVC_(GdiQueryFonts, 3)
    SVC_(GdiQueryFontAssocInfo, 1)
    SVC_(GdiRectangle, 5)
    SVC_(GdiRectInRegion, 2)
    SVC_(GdiRectVisible, 2)
    SVC_(GdiRemoveFontResourceW, 6)
    SVC_(GdiRemoveFontMemResourceEx, 1)
    SVC_(GdiResetDC, 5)
    SVC_(GdiResizePalette, 2)
    SVC_(GdiRestoreDC, 2)
    SVC_(GdiRoundRect, 7)
    SVC_(GdiSaveDC, 1)
    SVC_(GdiScaleViewportExtEx, 6)
    SVC_(GdiScaleWindowExtEx, 6)
    SVC_(GdiSelectBitmap, 2)
    SVC_(GdiSelectBrush, 2)
    SVC_(GdiSelectClipPath, 2)
    SVC_(GdiSelectFont, 2)
    SVC_(GdiSelectPen, 2)
    SVC_(GdiSetBitmapAttributes, 2)
    SVC_(GdiSetBitmapBits, 3)
    SVC_(GdiSetBitmapDimension, 4)
    SVC_(GdiSetBoundsRect, 3)
    SVC_(GdiSetBrushAttributes, 2)
    SVC_(GdiSetBrushOrg, 4)
    SVC_(GdiSetColorAdjustment, 2)
    SVC_(GdiSetColorSpace, 2)
    SVC_(GdiSetDeviceGammaRamp, 2)
    SVC_(GdiSetDIBitsToDeviceInternal, 16)
    SVC_(GdiSetFontEnumeration, 1)
    SVC_(GdiSetFontXform, 3)
    SVC_(GdiSetIcmMode, 3)
    SVC_(GdiSetLinkedUFIs, 3)
    SVC_(GdiSetMagicColors, 3)
    SVC_(GdiSetMetaRgn, 1)
    SVC_(GdiSetMiterLimit, 3)
    SVC_(GdiGetDeviceWidth, 1)
    SVC_(GdiMirrorWindowOrg, 1)
    SVC_(GdiSetLayout, 3)
    SVC_(GdiSetPixel, 4)
    SVC_(GdiSetPixelFormat, 2)
    SVC_(GdiSetRectRgn, 5)
    SVC_(GdiSetSystemPaletteUse, 2)
    SVC_(GdiSetTextJustification, 3)
    SVC_(GdiSetupPublicCFONT, 3)
    SVC_(GdiSetVirtualResolution, 5)
    SVC_(GdiSetSizeDevice, 3)
    SVC_(GdiStartDoc, 4)
    SVC_(GdiStartPage, 1)
    SVC_(GdiStretchBlt, 12)
    SVC_(GdiStretchDIBitsInternal, 16)
    SVC_(GdiStrokeAndFillPath, 1)
    SVC_(GdiStrokePath, 1)
    SVC_(GdiSwapBuffers, 1)
    SVC_(GdiTransformPoints, 5)
    SVC_(GdiTransparentBlt, 11)
    SVC_(GdiUnloadPrinterDriver, 2)
    SVC_(GdiUnmapMemFont, 1)
    SVC_(GdiUnrealizeObject, 1)
    SVC_(GdiUpdateColors, 1)
    SVC_(GdiWidenPath, 1)
    SVC_(UserActivateKeyboardLayout, 2)
    SVC_(UserAlterWindowStyle, 3)
    SVC_(UserAssociateInputContext, 3)
    SVC_(UserAttachThreadInput, 3)
    SVC_(UserBeginPaint, 2)
    SVC_(UserBitBltSysBmp, 8)
    SVC_(UserBlockInput, 1)
    SVC_(UserBuildHimcList, 4)
    SVC_(UserBuildHwndList, 7)
    SVC_(UserBuildNameList, 4)
    SVC_(UserBuildPropList, 4)
    SVC_(UserCallHwnd, 2)
    SVC_(UserCallHwndLock, 2)
    SVC_(UserCallHwndOpt, 2)
    SVC_(UserCallHwndParam, 3)
    SVC_(UserCallHwndParamLock, 3)
    SVC_(UserCallMsgFilter, 2)
    SVC_(UserCallNextHookEx, 4)
    SVC_(UserCallNoParam, 1)
    SVC_(UserCallOneParam, 2)
    SVC_(UserCallTwoParam, 3)
    SVC_(UserChangeClipboardChain, 2)
    SVC_(UserChangeDisplaySettings, 4)
    SVC_(UserCheckImeHotKey, 2)
    SVC_(UserCheckMenuItem, 3)
    SVC_(UserChildWindowFromPointEx, 4)
    SVC_(UserClipCursor, 1)
    SVC_(UserCloseClipboard, 0)
    SVC_(UserCloseDesktop, 1)
    SVC_(UserCloseWindowStation, 1)
    SVC_(UserConsoleControl, 3)
    SVC_(UserConvertMemHandle, 2)
    SVC_(UserCopyAcceleratorTable, 3)
    SVC_(UserCountClipboardFormats, 0)
    SVC_(UserCreateAcceleratorTable, 2)
    SVC_(UserCreateCaret, 4)
    SVC_(UserCreateDesktop, 5)
    SVC_(UserCreateInputContext, 1)
    SVC_(UserCreateLocalMemHandle, 4)
    SVC_(UserCreateWindowEx, 15)
    SVC_(UserCreateWindowStation, 7)
    SVC_(UserDdeGetQualityOfService, 3)
    SVC_(UserDdeInitialize, 5)
    SVC_(UserDdeSetQualityOfService, 3)
    SVC_(UserDeferWindowPos, 8)
    SVC_(UserDefSetText, 2)
    SVC_(UserDeleteMenu, 3)
    SVC_(UserDestroyAcceleratorTable, 1)
    SVC_(UserDestroyCursor, 2)
    SVC_(UserDestroyInputContext, 1)
    SVC_(UserDestroyMenu, 1)
    SVC_(UserDestroyWindow, 1)
    SVC_(UserDisableThreadIme, 1)
    SVC_(UserDispatchMessage, 1)
    SVC_(UserDragDetect, 3)
    SVC_(UserDragObject, 5)
    SVC_(UserDrawAnimatedRects, 4)
    SVC_(UserDrawCaption, 4)
    SVC_(UserDrawCaptionTemp, 7)
    SVC_(UserDrawIconEx, 11)
    SVC_(UserDrawMenuBarTemp, 5)
    SVC_(UserEmptyClipboard, 0)
    SVC_(UserEnableMenuItem, 3)
    SVC_(UserEnableScrollBar, 3)
    SVC_(UserEndDeferWindowPosEx, 2)
    SVC_(UserEndMenu, 0)
    SVC_(UserEndPaint, 2)
    SVC_(UserEnumDisplayDevices, 4)
    SVC_(UserEnumDisplayMonitors, 5) /* FIXME: 4 on XP/2k3 */
    SVC_(UserEnumDisplaySettings, 4)
    SVC_(UserEvent, 1)
    SVC_(UserExcludeUpdateRgn, 2)
    SVC_(UserFillWindow, 4)
    SVC_(UserFindExistingCursorIcon, 3)
    SVC_(UserFindWindowEx, 5)
    SVC_(UserFlashWindowEx, 1)
    SVC_(UserGetAltTabInfo, 6)
    SVC_(UserGetAncestor, 2)
    SVC_(UserGetAppImeLevel, 1)
    SVC_(UserGetAsyncKeyState, 1)
    SVC_(UserGetAtomName, 2)
    SVC_(UserGetCaretBlinkTime, 0)
    SVC_(UserGetCaretPos, 1)
    SVC_(UserGetClassInfo, 5)
    SVC_(UserGetClassName, 3)
    SVC_(UserGetClipboardData, 2)
    SVC_(UserGetClipboardFormatName, 3)
    SVC_(UserGetClipboardOwner, 0)
    SVC_(UserGetClipboardSequenceNumber, 0)
    SVC_(UserGetClipboardViewer, 0)
    SVC_(UserGetClipCursor, 1)
    SVC_(UserGetComboBoxInfo, 2)
    SVC_(UserGetControlBrush, 3)
    SVC_(UserGetControlColor, 4)
    SVC_(UserGetCPD, 3)
    SVC_(UserGetCursorFrameInfo, 4)
    SVC_(UserGetCursorInfo, 1)
    SVC_(UserGetDC, 1)
    SVC_(UserGetDCEx, 3)
    SVC_(UserGetDoubleClickTime, 0)
    SVC_(UserGetForegroundWindow, 0)
    SVC_(UserGetGuiResources, 2)
    SVC_(UserGetGUIThreadInfo, 2)
    SVC_(UserGetIconInfo, 6)
    SVC_(UserGetIconSize, 4)
    SVC_(UserGetImeHotKey, 4)
    SVC_(UserGetImeInfoEx, 2)
    SVC_(UserGetInternalWindowPos, 3)
    SVC_(UserGetKeyboardLayoutList, 2)
    SVC_(UserGetKeyboardLayoutName, 1)
    SVC_(UserGetKeyboardState, 1)
    SVC_(UserGetKeyNameText, 3)
    SVC_(UserGetKeyState, 1)
    SVC_(UserGetListBoxInfo, 1)
    SVC_(UserGetMenuBarInfo, 4)
    SVC_(UserGetMenuIndex, 2)
    SVC_(UserGetMenuItemRect, 4)
    SVC_(UserGetMessage, 4)
    SVC_(UserGetMouseMovePointsEx, 5)
    SVC_(UserGetObjectInformation, 5)
    SVC_(UserGetOpenClipboardWindow, 0)
    SVC_(UserGetPriorityClipboardFormat, 2)
    SVC_(UserGetProcessWindowStation, 0)
    SVC_(UserGetRawInputBuffer, 3)
    SVC_(UserGetRawInputData, 5)
    SVC_(UserGetRawInputDeviceInfo, 4)
    SVC_(UserGetRawInputDeviceList, 3)
    SVC_(UserGetRegisteredRawInputDevices, 3)
    SVC_(UserGetScrollBarInfo, 3)
    SVC_(UserGetSystemMenu, 2)
    SVC_(UserGetThreadDesktop, 2)
    SVC_(UserGetThreadState, 1)
    SVC_(UserGetTitleBarInfo, 2)
    SVC_(UserGetUpdateRect, 3)
    SVC_(UserGetUpdateRgn, 3)
    SVC_(UserGetWindowDC, 1)
    SVC_(UserGetWindowPlacement, 2)
    SVC_(UserGetWOWClass, 2)
    SVC_(UserHardErrorControl, 3)
    SVC_(UserHideCaret, 1)
    SVC_(UserHiliteMenuItem, 4)
    SVC_(UserImpersonateDdeClientWindow, 2)
    SVC_(UserInitialize, 3)
    SVC_(UserInitializeClientPfnArrays, 4)
    SVC_(UserInitTask, 12)
    SVC_(UserInternalGetWindowText, 3)
    SVC_(UserInvalidateRect, 3)
    SVC_(UserInvalidateRgn, 3)
    SVC_(UserIsClipboardFormatAvailable, 1)
    SVC_(UserKillTimer, 2)
    SVC_(UserLoadKeyboardLayoutEx, 7)
    SVC_(UserLockWindowStation, 1)
    SVC_(UserLockWindowUpdate, 1)
    SVC_(UserLockWorkStation, 0)
    SVC_(UserMapVirtualKeyEx, 4)
    SVC_(UserMenuItemFromPoint, 4)
    SVC_(UserMessageCall, 7)
    SVC_(UserMinMaximize, 3)
    SVC_(UserMNDragLeave, 0)
    SVC_(UserMNDragOver, 2)
    SVC_(UserModifyUserStartupInfoFlags, 2)
    SVC_(UserMoveWindow, 6)
    SVC_(UserNotifyIMEStatus, 3)
    SVC_(UserNotifyProcessCreate, 4)
    SVC_(UserNotifyWinEvent, 4)
    SVC_(UserOpenClipboard, 2)
    SVC_(UserOpenDesktop, 3)
    SVC_(UserOpenInputDesktop, 3)
    SVC_(UserOpenWindowStation, 2)
    SVC_(UserPaintDesktop, 1)
    SVC_(UserPeekMessage, 5)
    SVC_(UserPostMessage, 4)
    SVC_(UserPostThreadMessage, 4)
    SVC_(UserPrintWindow, 3)
    SVC_(UserProcessConnect, 3)
    SVC_(UserQueryInformationThread, 4)
    SVC_(UserQueryInputContext, 2)
    SVC_(UserQuerySendMessage, 1)
    SVC_(UserQueryWindow, 2)
    SVC_(UserRealChildWindowFromPoint, 3)
    SVC_(UserRealInternalGetMessage, 6)
    SVC_(UserRealWaitMessageEx, 2)
    SVC_(UserRedrawWindow, 4)
    SVC_(UserRegisterClassExWOW, 7)
    SVC_(UserRegisterUserApiHook, 4)
    SVC_(UserRegisterHotKey, 4)
    SVC_(UserRegisterRawInputDevices, 3)
    SVC_(UserRegisterTasklist, 1)
    SVC_(UserRegisterWindowMessage, 1)
    SVC_(UserRemoveMenu, 3)
    SVC_(UserRemoveProp, 2)
    SVC_(UserResolveDesktop, 4)
    SVC_(UserResolveDesktopForWOW, 1)
    SVC_(UserSBGetParms, 4)
    SVC_(UserScrollDC, 7)
    SVC_(UserScrollWindowEx, 8)
    SVC_(UserSelectPalette, 3)
    SVC_(UserSendInput, 3)
    SVC_(UserSetActiveWindow, 1)
    SVC_(UserSetAppImeLevel, 2)
    SVC_(UserSetCapture, 1)
    SVC_(UserSetClassLong, 4)
    SVC_(UserSetClassWord, 3)
    SVC_(UserSetClipboardData, 3)
    SVC_(UserSetClipboardViewer, 1)
    SVC_(UserSetConsoleReserveKeys, 2)
    SVC_(UserSetCursor, 1)
    SVC_(UserSetCursorContents, 2)
    SVC_(UserSetCursorIconData, 4)
    SVC_(UserSetFocus, 1)
    SVC_(UserSetImeHotKey, 5)
    SVC_(UserSetImeInfoEx, 1)
    SVC_(UserSetImeOwnerWindow, 2)
    SVC_(UserSetInformationProcess, 4)
    SVC_(UserSetInformationThread, 4)
    SVC_(UserSetInternalWindowPos, 4)
    SVC_(UserSetKeyboardState, 1)
    SVC_(UserSetLogonNotifyWindow, 1)
    SVC_(UserSetMenu, 3)
    SVC_(UserSetMenuContextHelpId, 2)
    SVC_(UserSetMenuDefaultItem, 3)
    SVC_(UserSetMenuFlagRtoL, 1)
    SVC_(UserSetObjectInformation, 4)
    SVC_(UserSetParent, 2)
    SVC_(UserSetProcessWindowStation, 1)
    SVC_(UserSetProp, 3)
    SVC_(UserSetScrollInfo, 4)
    SVC_(UserSetShellWindowEx, 2)
    SVC_(UserSetSysColors, 4)
    SVC_(UserSetSystemCursor, 2)
    SVC_(UserSetSystemMenu, 2)
    SVC_(UserSetSystemTimer, 4)
    SVC_(UserSetThreadDesktop, 1)
    SVC_(UserSetThreadLayoutHandles, 2)
    SVC_(UserSetThreadState, 2)
    SVC_(UserSetTimer, 4)
    SVC_(UserSetWindowFNID, 2)
    SVC_(UserSetWindowLong, 4)
#ifdef _WIN64
    SVC_(UserSetWindowLongPtr, 4)
#endif // _WIN64
    SVC_(UserSetWindowPlacement, 2)
    SVC_(UserSetWindowPos, 7)
    SVC_(UserSetWindowRgn, 3)
    SVC_(UserSetWindowsHookAW, 3)
    SVC_(UserSetWindowsHookEx, 6)
    SVC_(UserSetWindowStationUser, 4)
    SVC_(UserSetWindowWord, 3)
    SVC_(UserSetWinEventHook, 8)
    SVC_(UserShowCaret, 1)
    SVC_(UserShowScrollBar, 3)
    SVC_(UserShowWindow, 2)
    SVC_(UserShowWindowAsync, 2)
    SVC_(UserSoundSentry, 0)
    SVC_(UserSwitchDesktop, 1)
    SVC_(UserSystemParametersInfo, 4)
    SVC_(UserTestForInteractiveUser, 1)
    SVC_(UserThunkedMenuInfo, 2)
    SVC_(UserThunkedMenuItemInfo, 6)
    SVC_(UserToUnicodeEx, 7)
    SVC_(UserTrackMouseEvent, 1)
    SVC_(UserTrackPopupMenuEx, 6)
    SVC_(UserCalcMenuBar, 5)
    SVC_(UserPaintMenuBar, 6)
    SVC_(UserTranslateAccelerator, 3)
    SVC_(UserTranslateMessage, 2)
    SVC_(UserUnhookWindowsHookEx, 1)
    SVC_(UserUnhookWinEvent, 1)
    SVC_(UserUnloadKeyboardLayout, 1)
    SVC_(UserUnlockWindowStation, 1)
    SVC_(UserUnregisterClass, 3)
    SVC_(UserUnregisterUserApiHook, 0)
    SVC_(UserUnregisterHotKey, 2)
    SVC_(UserUpdateInputContext, 3)
    SVC_(UserUpdateInstance, 3)
    SVC_(UserUpdateLayeredWindow, 10)
    SVC_(UserGetLayeredWindowAttributes, 4)
    SVC_(UserSetLayeredWindowAttributes, 4)
    SVC_(UserUpdatePerUserSystemParameters, 2)
    SVC_(UserUserHandleGrantAccess, 3)
    SVC_(UserValidateHandleSecure, 1)
    SVC_(UserValidateRect, 2)
    SVC_(UserValidateTimerCallback, 1)
    SVC_(UserVkKeyScanEx, 3)
    SVC_(UserWaitForInputIdle, 3)
    SVC_(UserWaitForMsgAndEvent, 1)
    SVC_(UserWaitMessage, 0)
    SVC_(UserWin32PoolAllocationStats, 6)
    SVC_(UserWindowFromPoint, 2)
    SVC_(UserYieldTask, 0)
    SVC_(UserRemoteConnect, 3)
    SVC_(UserRemoteRedrawRectangle, 4)
    SVC_(UserRemoteRedrawScreen, 0)
    SVC_(UserRemoteStopScreenUpdates, 0)
    SVC_(UserCtxDisplayIOCtl, 3)
    SVC_(GdiEngAssociateSurface, 3)
    SVC_(GdiEngCreateBitmap, 6)
    SVC_(GdiEngCreateDeviceSurface, 4)
    SVC_(GdiEngCreateDeviceBitmap, 4)
    SVC_(GdiEngCreatePalette, 6)
    SVC_(GdiEngComputeGlyphSet, 3)
    SVC_(GdiEngCopyBits, 6)
    SVC_(GdiEngDeletePalette, 1)
    SVC_(GdiEngDeleteSurface, 1)
    SVC_(GdiEngEraseSurface, 3)
    SVC_(GdiEngUnlockSurface, 1)
    SVC_(GdiEngLockSurface, 1)
    SVC_(GdiEngBitBlt, 11)
    SVC_(GdiEngStretchBlt, 11)
    SVC_(GdiEngPlgBlt, 11)
    SVC_(GdiEngMarkBandingSurface, 1)
    SVC_(GdiEngStrokePath, 8)
    SVC_(GdiEngFillPath, 7)
    SVC_(GdiEngStrokeAndFillPath, 10)
    SVC_(GdiEngPaint, 5)
    SVC_(GdiEngLineTo, 9)
    SVC_(GdiEngAlphaBlend, 7)
    SVC_(GdiEngGradientFill, 10)
    SVC_(GdiEngTransparentBlt, 8)
    SVC_(GdiEngTextOut, 10)
    SVC_(GdiEngStretchBltROP, 13)
    SVC_(GdiXLATEOBJ_cGetPalette, 4)
    SVC_(GdiXLATEOBJ_iXlate, 2)
    SVC_(GdiXLATEOBJ_hGetColorTransform, 1)
    SVC_(GdiCLIPOBJ_bEnum, 3)
    SVC_(GdiCLIPOBJ_cEnumStart, 5)
    SVC_(GdiCLIPOBJ_ppoGetPath, 1)
    SVC_(GdiEngDeletePath, 1)
    SVC_(GdiEngCreateClip, 0)
    SVC_(GdiEngDeleteClip, 1)
    SVC_(GdiBRUSHOBJ_ulGetBrushColor, 1)
    SVC_(GdiBRUSHOBJ_pvAllocRbrush, 2)
    SVC_(GdiBRUSHOBJ_pvGetRbrush, 1)
    SVC_(GdiBRUSHOBJ_hGetColorTransform, 1)
    SVC_(GdiXFORMOBJ_bApplyXform, 5)
    SVC_(GdiXFORMOBJ_iGetXform, 2)
    SVC_(GdiFONTOBJ_vGetInfo, 3)
    SVC_(GdiFONTOBJ_pxoGetXform, 1)
    SVC_(GdiFONTOBJ_cGetGlyphs, 5)
    SVC_(GdiFONTOBJ_pifi, 1)
    SVC_(GdiFONTOBJ_pfdg, 1)
    SVC_(GdiFONTOBJ_pQueryGlyphAttrs, 2)
    SVC_(GdiFONTOBJ_pvTrueTypeFontFile, 2)
    SVC_(GdiFONTOBJ_cGetAllGlyphHandles, 2)
    SVC_(GdiSTROBJ_bEnum, 3)
    SVC_(GdiSTROBJ_bEnumPositionsOnly, 3)
    SVC_(GdiSTROBJ_bGetAdvanceWidths, 4)
    SVC_(GdiSTROBJ_vEnumStart, 1)
    SVC_(GdiSTROBJ_dwGetCodePage, 1)
    SVC_(GdiPATHOBJ_vGetBounds, 2)
    SVC_(GdiPATHOBJ_bEnum, 2)
    SVC_(GdiPATHOBJ_vEnumStart, 1)
    SVC_(GdiPATHOBJ_vEnumStartClipLines, 4)
    SVC_(GdiPATHOBJ_bEnumClipLines, 3)
    SVC_(GdiGetDhpdev, 1)
    SVC_(GdiEngCheckAbort, 1)
    SVC_(GdiHT_Get8BPPFormatPalette, 4)
    SVC_(GdiHT_Get8BPPMaskPalette, 6)
    SVC_(GdiUpdateTransform, 1)
    SVC_(GdiSetPUMPDOBJ, 4)
    SVC_(GdiBRUSHOBJ_DeleteRbrush, 2)
    SVC_(GdiUMPDEngFreeUserMem, 1)
    SVC_(GdiDrawStream, 3)
#if DBG
    // Checked Build only
    SVC_(UserDbgWin32HeapFail, 2)
    SVC_(UserDbgWin32HeapStat, 2)
    SVC_(UserSetDbgTag, 2)
    SVC_(UserSetDbgTagCount, 1)
    SVC_(UserSetRipFlags, 1)
#endif //DBG
    //Stray syscalls (must be placed here to be correct for both checked/free builds)
    SVC_(GdiMakeObjectXferable, 2)
    SVC_(DxEngGetRedirectionBitmap, 1)
    // ReactOS-specific syscalls (must be at the end to not interfere!)
    SVC_(GdiSetViewportOrgEx, 4)
    SVC_(GdiSetWindowOrgEx, 4)
    SVC_(GdiGetFontFamilyInfo, 4)
    SVC_(GdiOffsetViewportOrgEx, 4)
    SVC_(GdiOffsetWindowOrgEx, 4)
    SVC_(UserGetMonitorInfo, 2)
    SVC_(UserMonitorFromPoint, 3)
    SVC_(UserMonitorFromRect, 2)
    SVC_(UserMonitorFromWindow, 2)
    SVC_(UserSetScrollBarInfo, 3)
// For Wine DX
    SVC_(GdiDdDDICreateDCFromMemory, 1)
    SVC_(GdiDdDDIDestroyDCFromMemory, 1)
// ReactOS Display Driver Model
    SVC_(GdiDdDDICheckExclusiveOwnership, 0)
    SVC_(GdiDdDDICreateAllocation, 1)
    SVC_(GdiDdDDICheckMonitorPowerState, 1)
    SVC_(GdiDdDDICheckOcclusion, 1)
    SVC_(GdiDdDDICloseAdapter, 1)
    SVC_(GdiDdDDICreateContext, 1)
    SVC_(GdiDdDDICreateDevice, 1)
    SVC_(GdiDdDDICreateOverlay, 1)
    SVC_(GdiDdDDICreateSynchronizationObject, 1)
    SVC_(GdiDdDDIWaitForVerticalBlankEvent, 1)
    SVC_(GdiDdDDIWaitForIdle, 1)
    SVC_(GdiDdDDIUpdateOverlay, 1)
    SVC_(GdiDdDDIUnlock, 1)
    SVC_(GdiDdDDIDestroyAllocation, 1)
    SVC_(GdiDdDDIDestroyContext, 1)
    SVC_(GdiDdDDIDestroyDevice, 1)
    SVC_(GdiDdDDIDestroyOverlay, 1)
    SVC_(GdiDdDDIDestroySynchronizationObject, 1)
    SVC_(GdiDdDDIEscape, 1)
    SVC_(GdiDdDDIFlipOverlay, 1)
    SVC_(GdiDdDDIGetContextSchedulingPriority, 1)
    SVC_(GdiDdDDIGetDeviceState, 1)
    SVC_(GdiDdDDIGetDisplayModeList, 1)
    SVC_(GdiDdDDIGetMultisampleMethodList, 1)
    SVC_(GdiDdDDIGetPresentHistory, 1)
    SVC_(GdiDdDDIGetProcessSchedulingPriorityClass, 2)
    SVC_(GdiDdDDIGetRuntimeData, 1)
    SVC_(GdiDdDDIGetScanLine, 1)
    SVC_(GdiDdDDIGetSharedPrimaryHandle, 1)
    SVC_(GdiDdDDIInvalidateActiveVidPn, 1)
    SVC_(GdiDdDDILock, 1)
    SVC_(GdiDdDDIOpenAdapterFromDeviceName, 1)
    SVC_(GdiDdDDIOpenAdapterFromGdiDisplayName, 1)
    SVC_(GdiDdDDIOpenAdapterFromHdc, 1)
    SVC_(GdiDdDDIOpenResource, 1)
    SVC_(GdiDdDDIPollDisplayChildren, 1)
    SVC_(GdiDdDDIPresent, 1)
    SVC_(GdiDdDDIQueryAdapterInfo, 1)
    SVC_(GdiDdDDIQueryAllocationResidency, 1)
    SVC_(GdiDdDDIQueryResourceInfo, 1)
    SVC_(GdiDdDDIQueryStatistics, 1)
    SVC_(GdiDdDDIReleaseProcessVidPnSourceOwners, 1)
    SVC_(GdiDdDDIRender, 1)
    SVC_(GdiDdDDISetAllocationPriority, 1)
    SVC_(GdiDdDDISetContextSchedulingPriority, 1)
    SVC_(GdiDdDDISetDisplayMode, 1)
    SVC_(GdiDdDDISetDisplayPrivateDriverFormat, 1)
    SVC_(GdiDdDDISetGammaRamp, 1)
    SVC_(GdiDdDDISetProcessSchedulingPriorityClass, 2)
    SVC_(GdiDdDDISetQueuedLimit, 1)
    SVC_(GdiDdDDISetVidPnSourceOwner, 1)
    SVC_(GdiDdDDISharedPrimaryLockNotification, 1)
    SVC_(GdiDdDDISharedPrimaryUnLockNotification, 1)
    SVC_(GdiDdDDISignalSynchronizationObject, 1)
    SVC_(GdiDdDDIWaitForSynchronizationObject, 1)
